package com.aooci.ordercat.vo;

import java.io.Serializable;

import org.primefaces.model.SelectableDataModel;

public class ItemVo implements Serializable, SelectableDataModel<Object> {
	private static final long serialVersionUID = 1L;
	private int id;
	private String label; 
	private float price;
	public ItemVo(int id, String label, float price) {
		super();
		this.id = id;
		this.label = label;
		this.price = price;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the label
	 */
	public String getLabel() {
		return label;
	}
	/**
	 * @param label the label to set
	 */
	public void setLabel(String label) {
		this.label = label;
	}
	/**
	 * @return the price
	 */
	public float getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(float price) {
		this.price = price;
	}
	@Override
	public Object getRowData(String arg0) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public Object getRowKey(Object arg0) {
		// TODO Auto-generated method stub
		return null;
	}

}
